package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @author: zqb
 * @date: 2024/11/29 10:44
 */
@Data
public class IotDataResult {

    private String id;
    @Schema(description = "住院号", example = "1234567890")
    private String hospitalNumber;  // 住院号

    @Schema(description = "患者识别号", example = "P123456")
    private String patientIdent;    // 患者识别号

    @Schema(description = "设备编码", example = "DEV001")
    private String devCode;         // 设备编码

    @Schema(description = "设备名称", example = "设备A")
    private String devName;         // 设备名称

    @Schema(description = "设备状态", example = "正常")
    private String devStatus;       // 设备状态

    @Schema(description = "设备 IP 地址", example = "192.168.1.1")
    private String ip;              // 设备 IP 地址

    @Schema(description = "患者床号", example = "B001")
    private String bedNumber;       // 患者床号

    @Schema(description = "病区代码", example = "ICU")
    private String wardCode;        // 病区代码

    @Schema(description = "观察数据", example = "{\"mr_press_fluid_meass\": 120.5, \"mr_pump_x_total_delivered_fluid_volume\": 300.0}")
    private String obsvData;  // 观察数据，字段和值以键值对的形式存储

    @Schema(description = "数据创建时间", example = "2024-11-29T08:40:00")
    private LocalDateTime createdTime;      // 数据创建时间

    @Schema(description = "数据创建时间", example = "2024-11-29T08:40:00")
    private LocalDateTime createTimeBj;      // 数据创建时间

}
